<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        var userList = [{id:1,name:"张三",birthday:"1998-02-03"},
            {id:4,name:"李勇",birthday:"1994-11-24"},
            {id:5,name:"刘威",birthday:"1995-06-11"},
            {id:8,name:"何红",birthday:"2000-05-08"}];
        debugger
        nameList = userList.map(n => n.name);
        console.log(nameList);

        var str = nameList.join("、");
        console.log(str);

    </script>
</head>
<body>

</body>
</html>